﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="{$cfg_site_description}" />

<title>郵件訂閱|{$cfg_site_name}</title>
{template 'header'}
<body>
<div id="buy917_wrap">
	<div id="buy917_login">
     <div class="logins">
	 {if !empty($_USERS)}
      <ul id="account">
        <li title="tlover" class="username">歡迎您，{$_USERS['uname']}！</li>
        <li class="account1">&nbsp;
		<a href="m.php?action=bond&type=available">我的團購券</a> | <a href="m.php?action=orders&type=all">我的訂單</a> | 
		<a href="m.php?action=account">帳戶餘額</a> | <a href="m.php?action=settings">帳戶設置 | </a>
		</li>
        <li class="logout"><a href="quit.php">退出</a></li>
      </ul>
      {else}
      <ul id="account">
        <li class="login"><a href="login.php">會員登入 | 註冊</a></li>       
      </ul>
      {/if}
      </div>   
	</div>    
    <div id="buy917_header">
    	<div id="buy917_logo"><a href="index.php">Buy917</a></div>
        <div class="buy917_header_banner">
        	<div class="buy917_header_topbanner">
            <?php include("admin/event.php")?>
            </div>
          	<div class="buy917_header_select">
            	<div class="buy917_header_city">
                	 {if !empty($_cityid)}
                    <div class="guides">
                        <div class="city">
                            <h2>{$_cityname}</h2>
                        </div>
                        <div id="guides-city-change" class="change">切換城市</div>
                        <div id="guides-city-list" class="city-list">
                            <ul>
                            {loop $_citylist $v}
                                <li {if $v['cid']==$_cityid}class="current"{/if}><a href="index.php?cityid={$v['cid']}">{$v['cityname']}</a></li>
                            {/loop}
                            </ul>                   
                        </div>
                    </div>
                    {/if}	
                </div>
                <div class="buy917_header_group">
                	{template 'headergroup'}	
                </div>
            </div>
       </div>
    </div><!-- buy917_header -->
  
    <div id="buy917_menu">
    	<a href="index.php">馬上 揪一起</a>
        <a href="grouplist.php">曾經 揪一起</a>
        <a href="article.php?aid=3" <?php if($_GET['aid']== 3){ echo "class='on'";} ?>>怎樣 揪一起</a>
        <a href="article.php?aid=1" class="end <?php if($_GET['aid']== 1){ echo "on";} ?>">問答 揪一起</a>       
    </div><!-- buy917_menu -->
       
    <div id="buy917_middle">
        	<div class="buy917_grouplist_top"></div>      
            <div class="buy917_grouplist_body"> 
                <h2>郵件訂閱</h2>
        		 <div class="sect">
                   <div class="lead">
                      <h4>把每天最新的精品團購信息發到您的郵箱。</h4>
                  </div>
				   <div class="enter-address">
                                                <p>立即郵件訂閱每日團購信息，不錯過每一天的驚喜。</p>
                                                <div class="enter-address-c">

                            <form id="enter-address-form" action="mail.php" method="post">
							<div style="width:550px; overflow:hidden;">
                            <div class="mail">
                                <span>郵件地址：</span>
                                <input id="enter-address-mail" name="email" class="f-input f-mail" type="text" value="" size="20" />
                                <span class="tip">請放心，我們和您一樣討厭垃圾郵件</span>
                            </div>
							
                            <div class="city2">
							{if !empty($_cityid)}
								<span id=enter-address-city-label>選擇您的城市：</span>
									<SELECT class=f-city name=cityid>
									{loop $_citylist $v}
										 <OPTION {if $v['cid']==$_cityid}selected{/if} value="{$v['cid']}">{$v['cityname']}</OPTION>
									{/loop}
									 </SELECT> 
							{/if}
                                <input id="enter-address-commit" type="submit" class="formbutton" value="訂閱" />
								
							</div>
						</div>		
                          </form>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="intro">

                        <p>每日精品團購包括：</p>
                        <p>餐廳、酒吧、KTV、SPA、美發、健身、瑜伽、演出、影院等。</p>
                    </div>
              </div>
            </div>
            </div><!-- buy917_grouplist_body -->
            <div class="buy917_grouplist_bottom"></div>
    </div><!-- buy917_middle -->
</div><!-- buy917wrap -->
<!-- footer -->
<div id="buy917_footer">
	{template 'footer'}	
</div>
</body>
</html>
